home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus Special 6
/
Sonderheft_6-96.iso
/
pd
/
disktools
/
kopieren
/
afcopy v4.4
/
sourcecode
/
afcopy_protos.h
< prev
next >
Wrap
C/C++ Source or Header
|
1996-11-03
|
4KB
|
112 lines
/*
*
* Function Protos!
*
*/
/*
* from afcopy.c
*/
void checkcustomscreenwindows( void );
void updateselected(short side);
void strfcat(char *dest, char *source, int destlen);
BOOL allocmemforname(short side);
BOOL AddToFileList(short side,char *fname,LONG size,LONG type,BYTE tags);
void Updatedisplay(short side);
void DosError(char *msg,char *msg2,int errnum);
void displaysinglefile(short side,int ypos,int start);
void wipefile(short side,int ypos);
void displayfilelist(short side,int start);
void updatepath(short side);
void lognewdir(short side, char *path);
void doparent(short side);
void setmarks(short side,int action);
void About(void);
int CheckStatCancel(void);
void UpdateStat(int amountleft,int amounttotal,char *functionstr,char *fromstr,char *tostr,char *fname);
int SameDir(char *fname1,char *dirname);
struct Gadget *createProtGadgets(struct Gadget **glistptr, void *vi, UWORD topborder, struct Gadget *gads[]);
struct Window *OpenProtWindow(void);
int EditProt( void );
void Dofunction(int mode,short side);
void DosFunction( void );
void closeafcopywindow( void );
BOOL openafcopywindow( void );
void resetslider(short side);
void UpdateMainWindow( void );
void handleevent(UWORD what,UWORD code);
void handlekey(UWORD key);
void checkfileselect(int Code,int MouseX,int MouseY,LONG action,BOOL CheckDoubleClick);
void modtags(short side,int tmode,char *patt);
void GroupTag(short side,int tmode);
int handlemenu(int num,int item);
void Rectangle(struct Window *W,UWORD x1,UWORD y1,UWORD x2,UWORD y2);
void ActiveSide(short side);
void handlerawkey(UWORD key);
void handleidcmp(void);
void handlerefresh( void );
void freeallocated(short side );
void pickscreen( void );
void PickFont( void );
int GetFont( void );
/*
* from afcopy_file.c
*/
void getfiles(short side, char *path);
void findvolumes(short side);
void Makedir(short side);
int DirFunc(char *dirname,char *todirname,int mode);
long ExecCommand(char *command,BOOL asynch,BOOL shuffle);
void cdto( char *path );
LONG getfilesize(char *filename);
int ModifyComment(char *filename,BOOL usedefcomm);
void DoFormat( void );
int filecopy(char *fromname,char *toname);
int filenuke(char *nukename);
int fileswap(char *fromname,char *toname);
/*
* from afcopy_misc.c
*/
char *upcase(char *str);
short position(char *substr,char *str);
short iposition(char *substr,char *str);
void strpad(char *str,int newlength);
void OutTextXY(struct Window *Win,UWORD X,UWORD Y, char *string);
void addterm(char *s);
void delterm(char *s);
void getparent(char *s);
BOOL inrect(int X,int Y,int X1,int Y1,int X2, int Y2);
void IoErrMsg(char *MsgString,int ErrorNum);
struct Gadget *createAllGadgets(struct Gadget **glistptr, void *vi,
UWORD topborder, struct Gadget *my_gads[]);
void blankusergads( void );
void strfcpy(char *dest,char *source,int from);
void stripcr(char *s);
void mfgets(char *str,int len,FILE *f);
void qsortfiles(short side,int l,int r);
BOOL DoDiskInfo(short side,char *path);
void clearside(short side);
void updateslider(short side,int offset);
void remspaces(char *dest,char *source);
struct Window *OpenStatWindow(void);
struct Gadget *createStatGadgets(struct Gadget **glistptr, void *vi,
UWORD topborder, struct Gadget *gads[]);
void createstring(char *tmpstr,char *batchstr,short side,int current,int opts);
void getname(char *dest,char *source);
void getextension(char *dest,char *source);
void replace(char *dest,char *compare,char *from,char *to);
/*
* from afcopy_config.c
*/
BOOL LoadConfig(char *configname);
BOOL SaveConfig(char *configname);
void setdefaultconfig( void );
BOOL EditConfig( void );